<template>
  <div>
    <p>EmitDemo <input type="text" v-model="msg" /></p>
    <son-item :msg="msg" />
  </div>
</template>

<script setup lang="ts">
import { string } from "vue-types";
import SonItem from "./components/SonItem.vue";

const emit = defineEmits<{
  (event: "update:msg", ...args: any[]): void;
}>();

type x = {
  s: string;
};
const msg = ref("hello");
</script>

<style scoped></style>
